home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: blackbush.xlink.net!sapwdf!news
- From: Gilles Berthelot <gilles.berthelot@sap-ag.de>
- Subject: Re: Dumb Question? about ptr
- Content-Type: text/plain; charset=us-ascii
- Message-ID: <DL2G59.87o@sap-ag.de>
- Sender: news@sap-ag.de (USENET News System)
- Content-Transfer-Encoding: 7bit
- Organization: SAP-AG Walldorf
- References: <00001a81+00008b8f@msn.com>
- Mime-Version: 1.0
- Date: Fri, 12 Jan 1996 11:34:20 GMT
- X-Mailer: Mozilla 1.2N (Windows; I; 32bit)
-
- I guess it is a tipo,
- replace
-
- //MyStruct* foo;
- //MyStruct Record1;
- //foo = &MyStruct;
-
- with
-
- MyStruct Record1;
- MyStruct* foo = &Record1;
-
- Good luck.
- Gilles
-
-
-